//
//  FriendCricleModel.swift
//  jiahui
//
//  Created by 3tee on 2024/12/12.
//

import UIKit

class FriendCricleModel{
    var icon = ""//头像
    var name = ""//昵称
    var desc = ""//签名
    var content = ""//内容
    var mediaType = ""//视频还是图片
    var medias = [String]()//媒体信息
    var time = ""//时间
    var contentHeight: CGFloat?//缓存文本的高度
    var cellHeight: CGFloat?//缓存cell的高度 padding + nameH + padding + contentHeight + collectionHeight + openBtnH
    var collectionItemSize: CGSize = CGSizeZero//缓存图片或者视频的高度
    var collectionHeight: CGFloat = 0//缓存图片或者视频的总体高度

    var isOpen: Bool = false //缓存content是否展开
    
    init(icon: String , name: String , desc: String = "情绪稳定的capybara", content: String, mediaType: String , medias: [String] , time: String ) {
        self.icon = icon
        self.name = name
        self.desc = desc
        self.content = content
        self.mediaType = mediaType
        self.medias = medias
        self.time = time
    }
    
}
